home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat1 / length.1 < prev    next >
Text File  |  1999-09-16  |  781b  |  67 lines

  1.  
  2.  
  3.  
  4. length(1)                      Scilab Function                      length(1)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   length - length of object
  13.  
  14. CALLING SEQUENCE
  15.   n=length(M)
  16.  
  17. PARAMETERS
  18.  
  19.   M    : matrix (usual or polynomial or character string) or list
  20.  
  21.   n    : integer or integer matrix
  22.  
  23. DESCRIPTION
  24.   For usual or polynomial matrix n is the integer equal to number of rows
  25.   times number of columns of M. (Also valid for M a boolean matrix)
  26.  
  27.   For matrices made of character strings (and in particular for a character
  28.   string) length returns in n the length of entries of the matrix of charac-
  29.   ter strings M.
  30.  
  31.   The length of a list is the number of elements in the list (also given by
  32.   size).
  33.  
  34.   length('123') is 3. length([1,2;3,4]) is 4.
  35.  
  36. SEE ALSO
  37.   size, syssize
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.